/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package infoplaces2;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;

/**
 *
 * @author Andre Alvarado
 */
public class GoogleStreetNode extends StreetNode<EquirectangularPanoramicImage, String>{
    
    protected final double north;
    private final String pano_id;  //private String pano_id = ""; //googleStreetNode
    protected final ArrayList<String> neighbours;//private ArrayList<String> lst_vizinhos = new ArrayList<String>();
    
    public GoogleStreetNode(double latitude, double longitude, EquirectangularPanoramicImage environmentMap, String pano_id, ArrayList<String> neighbours, double north){
        super(latitude, longitude, environmentMap);
        this.pano_id = pano_id;
        this.north = north;
        this.neighbours = neighbours;
        
    }
    @Override
    public ArrayList<String> getNeighbours() {
       return neighbours;
    }
    
    @Override
    public String getID() {
        return this.pano_id;
    }
    
    @Override
    public String getNeighbourID(int index) {
        return this.neighbours.get(index);
    }
    
    @Override
    public int neighboursCount() {
        return this.neighbours.size();
    }
    
    
    
    
    
    
    
}
 